UCF STIG Viewer Logo

The vCenter Rhttpproxy service log files must be sent to a central log server.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259163 VCRP-80-000073 SV-259163r935393_rule Medium
Description
Writing events to a centralized management audit system offers many benefits to the enterprise over having dispersed logs. Centralized management of audit records and logs provides for efficiency in maintenance and management of records, enterprise analysis of events, and backup and archiving of event records enterprise-wide. The web server and related components are required to be capable of writing logs to centralized audit log servers. Satisfies: SRG-APP-000358-WSR-000063, SRG-APP-000125-WSR-000071
STIG Date
VMware vSphere 8.0 vCenter Appliance Envoy Security Technical Implementation Guide 2023-10-29

Details

Check Text ( C-62903r935391_chk )
By default, there is a vmware-services-rhttpproxy.conf rsyslog configuration file that includes the service logs when syslog is configured on vCenter, but it must be verified.

At the command prompt, run the following command:

# cat /etc/vmware-syslog/vmware-services-rhttpproxy.conf

Expected result:

#rhttpproxy log
input(type="imfile"
File="/var/log/vmware/rhttpproxy/rhttpproxy.log"
Tag="rhttpproxy-main"
Severity="info"
Facility="local0")
#rhttpproxy init stdout
input(type="imfile"
File="/var/log/vmware/rhttpproxy/rproxy_init.log.stdout"
Tag="rhttpproxy-stdout"
Severity="info"
Facility="local0")
#rhttpproxy init stderr
input(type="imfile"
File="/var/log/vmware/rhttpproxy/rproxy_init.log.stderr"
Tag="rhttpproxy-stderr"
Severity="info"
Facility="local0")

If the output does not match the expected result, this is a finding.
Fix Text (F-62812r935392_fix)
Navigate to and open:

/etc/vmware-syslog/vmware-services-rhttpproxy.conf

Create the file if it does not exist.

Set the contents of the file as follows:

#rhttpproxy log
input(type="imfile"
File="/var/log/vmware/rhttpproxy/rhttpproxy.log"
Tag="rhttpproxy-main"
Severity="info"
Facility="local0")
#rhttpproxy init stdout
input(type="imfile"
File="/var/log/vmware/rhttpproxy/rproxy_init.log.stdout"
Tag="rhttpproxy-stdout"
Severity="info"
Facility="local0")
#rhttpproxy init stderr
input(type="imfile"
File="/var/log/vmware/rhttpproxy/rproxy_init.log.stderr"
Tag="rhttpproxy-stderr"
Severity="info"
Facility="local0")